<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Správa uživatelů</title>
</head>
<body>
<h3>Nazdar <c:out value="${login.email}" /></h3>
<h3>Role <c:out value="${user.role}" /></h3>
	<c:if test="${user.teacher}" >
    <a href="<c:url value="registration.html" />">Vytvořit uživatele</a><br>
	<a href="<c:url value="list.html" />">Seznam uživatelů</a><br>
    </c:if >
    <a href="<c:url value="changepassword.html" />">Zmenit heslo</a><br>
    <a href="<c:url value="login.html" />">odhlasit</a><br>
</body>
</html>